import Vue from 'vue'
import Vuex from 'vuex'
import actions from './actions.js'
import mutations from './mutations.js'
import state from './state.js'
import getters from './getters'
import home from './modules/home/home.store.js'
import control from './modules/control/control.store.js'
Vue.use(Vuex)

export default new Vuex.Store({
  state,
  mutations,
  getters,
  actions,
  modules: {
    home,
    control
}
})
